package com.dhcc.bpm.modules.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.system.entity.Tenant;
import org.springblade.core.mp.base.BaseService;

/**
 * @ClassName ITenantService
 * @Description  服务类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
public interface ITenantService extends BaseService<Tenant> {

	/**
	 * @Description 自定义分页
	 * @Author sjm
	 * @Date 10:22 2020/2/22 0022
	 * @param page
	 * @param tenant
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.system.entity.Tenant>
	 **/
	IPage<Tenant> selectTenantPage(IPage<Tenant> page, Tenant tenant);

	/**
	 * @Description 新增
	 * @Author sjm
	 * @Date 10:22 2020/2/22 0022
	 * @param tenant
	 * @return boolean
	 **/
	boolean saveTenant(Tenant tenant);

}
